<!--
-->
<template>
    <vxe-modal v-model="visible" :position="{top: '60px'}" :title="title" destroy-on-close min-width="800" resize show-footer show-maximize :width="layout.modalWidth(1000)" :height="layout.modalHeight()" @close="cancelClick">
        <TimerTaskLog :options="state.options"/>
        <template #footer>
            <el-button :loading="isSubmitting" type="primary" @click="cancelClick">
                确定
            </el-button>
        </template>
    </vxe-modal>
</template>

<script setup>
import {ref, reactive, computed, onMounted} from "vue";
import {FormMixins} from "@/utils/FormMixins";
import TimerTaskLog from "@business/LogManage/TimerTask/Index.vue";

const {ELForm, visible, title, layout, isLoading, isSubmitting, state, setOptions, submitSuccess, cancelClick} = FormMixins();
const {$message} = window;

const Model = () => {
    return {

    }
}
// 表单显示
async function show(config) {
    setOptions(config);
    state.model = Model();
    state.model = {...state.model, ...state.options}
    // 初始化数据

}

defineExpose({
    show
})
</script>


<style lang="scss" scoped>
.EditForm {

}
</style>
